<template>
  <n-image v-bind="getProps" />
  <!-- <n-image-group>
    <n-image v-for="(item, i) in images" v-bind="item" :key="item.src + i" :style="{display: i !== 0 ? 'none' : ''}" />
  </n-image-group> -->
</template>

<script>
import { defineComponent, computed, toRaw } from 'vue'
export default defineComponent({
  name: 'TableImage',
  props: {
    images: {
      type: [Object, Array],
      default: null,
      required: true
    }
  },
  setup(props, { emit }) {
    const getProps = computed(() => {
      return (toRaw(props.images))
    })

    return {
      getProps
    }
  }
})

</script>

<style scoped lang='scss'>
</style>
